package com.jams.goodox.entity.resp;

import android.text.TextUtils;

import com.jams.goodox.net.BaseEntity;

import java.util.List;

/**
 * 消息通知主列表页
 * Created by guozhen.hou on 2017/7/19.
 */

public class InfoMessageResp extends BaseEntity{

    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private String intime;
        private String noticeType;
        private int noticeCnt;
        private String noticeTitle;

        public String getIntime() {
            return intime;
        }

        public void setIntime(String intime) {
            this.intime = intime;
        }

        public String getNoticeType() {
            return noticeType;
        }

        public void setNoticeType(String noticeType) {
            this.noticeType = noticeType;
        }

        public int getNoticeCnt() {
            return noticeCnt;
        }

        public void setNoticeCnt(int noticeCnt) {
            this.noticeCnt = noticeCnt;
        }

        public String getNoticeTitle() {
            return TextUtils.isEmpty(noticeTitle)?"暂无通知":noticeTitle;
        }

        public void setNoticeTitle(String noticeTitle) {
            this.noticeTitle = noticeTitle;
        }
    }
}
